MindFusion.Java Package Programmer's Guide
Utilities.pointInPolyRect Method
See Also
 






Tests if the specified Point2D is inside the polygon defined by the specified array of points and the specified Rectangle2D.

Namespace: com.mindfusion.charting
Package: com.mindfusion.charting

 Syntax

Java  Copy Code

public static boolean pointInPolyRect (
    Point2D[] poly,
    Point2D ptTest,
    Rectangle2D rBound
)

 Parameters

poly

Array of Point2D instances that defines the polygon.

ptTest

The Point2D to test.

rBound

The Rectangle2D.

 Return Value

true if the point is inside the figure defined by the polygon and the rectangle; otherwise false.

 See Also

Utilities Members
Utilities Class
com.mindfusion.charting Namespace